package com.qianfeng.openapi.search.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/5
 * @Time: 上午10:57
 */
@Configuration
//@Component
public class RabbitMQConfig {

    @Bean
    public Queue queue(){
        return  new Queue("gateway_log");
    }


}
